Barycentric coordinates computation in homogeneous coordinates
نویسنده
چکیده
Homogeneous coordinates are often used in computer graphics and computer vision applications especially for the representation of geometric transformations. The homogeneous coordinates enable us to represent translation, rotation, scaling and projection operations in a unique way and handle them properly. Today’s graphics hardware based on GPU offers a very high computational power using pixel and fragment shaders not only for the processing of graphical elements, but also for the general computation using GPU as well. It is well known that points, triangles and strips of triangles are mostly used in computer graphics processing. Generally, triangles and tetrahedra are mostly represented by vertices. Several tests like ‘‘point insidey’’ or ‘‘intersection ofy’’ are very often used in applications. On the other hand, barycentric coordinates in E or E can be used to implement such tests, too. Nevertheless, in both cases division operations are used that potentially lead to the instability of algorithms. The main objective of this paper is to show that if the vertices of the given polygon and/or a point itself are given in homogeneous coordinates the barycentric coordinates can be computed directly without transferring them from the homogeneous [w61⁄41] to the Euclidean coordinates. Instead of solving a linear system of equations, the cross-product can be used and the division operation is not needed. This is quite convenient approach for GPU computation. r 2007 Published by Elsevier Ltd.
منابع مشابه
Fractions, Projective Representation, Duality, Linear Algebra and Geometry
This contribution describes relationship between fractions, projective representation, duality, linear algebra and geometry. Many problems lead to a system of linear equations and this paper presents equivalence of the cross–product operation and solution of a system of linear equations Ax = 0 or Ax = b using projective space representation and homogeneous coordinates. It leads to conclusion th...
متن کاملThe uses of homogeneous barycentric coordinates in plane euclidean geometry
The notion of homogeneous barycentric coordinates provides a powerful tool of analysing problems in plane geometry. In this paper, we explain the advantages over the traditional use of trilinear coordinates, and illustrate its powerfulness in leading to discoveries of new and interesting collinearity relations of points associated with a triangle.
متن کاملGeometry, Duality and Robust Computation in Engineering
Robustness of computations in engineering is one of key issues as it is necessary to solve technical problems leading to ill conditioned solutions. Therefore the robustness and numerical stability is becoming a key issue more important that the computational time. In this paper we will show selected computational issues in numerical precision, well known cases of failures in computations. The E...
متن کاملDuality and Robust Computation
Robustness of computations in engineering is one of key issues as it is necessary to solve technical problems leading to ill conditioned solutions. Therefore the robustness and numerical stability is becoming a key issue more important that the computational time. In this paper we will show selected computational issues in numerical precision, well known cases of failures in computations. The E...
متن کاملOn Generalized Barycentric Coordinates and Their Applications in Geometric Modeling
Generalized barycentric coordinate systems allow us to express the position of a point in space with respect to a given polygon or higher dimensional polytope. In such a system, a coordinate exists for each vertex of the polytope such that its vertices are represented by unit vectors ei (where the coordinate associated with the respective vertex is 1, and all other coordinates are 0). Coordinat...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Computers & Graphics
دوره 32 شماره
صفحات -
تاریخ انتشار 2008